package a.h;

import a.i.ib;
import a.i.jb;

import javax.swing.*;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.beans.PropertyVetoException;
import java.lang.ref.WeakReference;

class f
  extends d
  implements pb
{
  private Object n;
  private boolean o;
  private boolean p;
  private final jb q = ib.c();
  static Class r;
  static Class s;
  static Class t;
  static Class u;
  static Class v;
  static Class w;
  static Class x;
  
  f(ec paramec)
  {
    super(paramec);
    if (ec.t == 0)
    {
      if (!paramec.m()) {
        this.n = paramec.o();
      }
      this.o = paramec.f();
      this.p = paramec.m();
    }
  }
  
  public Object n()
  {
    return this.n;
  }
  
  public void a(Object paramObject)
  {
    int i = ec.t;
    if (i == 0) {
      if ((paramObject instanceof String))
      {
        if (i != 0) {
          break label60;
        }
        if (!a(paramObject.getClass())) {
          try
          {
            paramObject = this.q.a((String)paramObject, this.i.c());
          }
          catch (Exception localException)
          {
            return;
          }
        }
      }
    }
    label60:
    if (i == 0) {
      if (paramObject != null)
      {
        if (i != 0) {
          break label98;
        }
        if (!a(paramObject.getClass())) {
          throw new IllegalArgumentException("argument type mismatch");
        }
      }
    }
    label98:
    Object localObject = this.n;
    if (i == 0)
    {
      if (nb.a(localObject, paramObject))
      {
        try
        {
          b(e, localObject, paramObject);
        }
        catch (PropertyVetoException localPropertyVetoException)
        {
          return;
        }
        this.n = paramObject;
        a(localObject, this.n);
      }
      d(false);
    }
  }
  
  public boolean i()
  {
    return o();
  }
  
  public boolean o()
  {
    return this.o;
  }
  
  public void c(boolean paramBoolean)
  {
    boolean bool = this.o;
    if (ec.t == 0)
    {
      if (bool != paramBoolean) {
        this.o = paramBoolean;
      }
    }
    else {
      a(bool, paramBoolean);
    }
  }
  
  public boolean p()
  {
    return this.p;
  }
  
  public void d(boolean paramBoolean)
  {
    boolean bool = this.p;
    if (ec.t == 0)
    {
      if (bool != paramBoolean) {
        this.p = paramBoolean;
      }
    }
    else {
      b(bool, paramBoolean);
    }
  }
  
  public JComponent f()
  {
    throw new UnsupportedOperationException();
  }
  
  public boolean g()
  {
    return false;
  }
  
  public boolean h()
  {
    return true;
  }
  
  public String j()
  {
    return this.i.d();
  }
  
  public Object a(String paramString)
  {
    return this.i.c(paramString);
  }
  
  boolean a(Class paramClass)
  {
    int i = ec.t;
    boolean bool = ec.s;
    Class localClass = this.i.c();
    if (i == 0) {
      if (localClass == null) {
        return true;
      }
    }
    if (i == 0) {
      if (localClass.isPrimitive())
      {
        if (i == 0) {
          if (Boolean.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = r == null ? (f.r = b("java.lang.Boolean")) : r;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i == 0) {
          if (Integer.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = s == null ? (f.s = b("java.lang.Integer")) : s;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i == 0) {
          if (Double.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = t == null ? (f.t = b("java.lang.Double")) : t;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i == 0) {
          if (Byte.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = u == null ? (f.u = b("java.lang.Byte")) : u;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i == 0) {
          if (Short.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = v == null ? (f.v = b("java.lang.Short")) : v;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i == 0) {
          if (Long.TYPE.equals(localClass))
          {
            if (i == 0) {}
            localClass = w == null ? (f.w = b("java.lang.Long")) : w;
            if (i != 0) {
              break label393;
            }
            if (!bool) {
              break label388;
            }
          }
        }
        if (i != 0) {
          break label393;
        }
        if (Float.TYPE.equals(localClass))
        {
          if (i == 0) {}
          localClass = x == null ? (f.x = b("java.lang.Float")) : x;
        }
      }
    }
    label388:
    label393:
    return localClass.isAssignableFrom(paramClass);
  }
  
  static f a(ec paramec)
  {
    if ((paramec instanceof kc)) {
      return new a_((kc)paramec);
    }
    return new f(paramec);
  }
  
  static Class b(String paramString)
  {
    try
    {
      return Class.forName(paramString);
    }
    catch (ClassNotFoundException localClassNotFoundException)
    {
      throw new NoClassDefFoundError(localClassNotFoundException.getMessage());
    }
  }
  
  private static final class a_
    extends f
    implements w
  {
    public static final String y = "enum";
    private vc z;
    
    a_(kc paramkc)
    {
      super();
      this.z = new vc(paramkc.b());
      new b_(this);
    }
    
    public void d(boolean paramBoolean)
    {
      int i = ec.t;
      if (i == 0) {
        if (!paramBoolean) {
          if (i != 0) {
            break label32;
          }
        }
      }
      label32:
      super.d(this.z.a(n()) < 0);
    }
    
    public void c()
    {
      int i = ec.t;
      if (i == 0) {
        if (nb.a(b(), ((w)this.i).b()))
        {
          ((kc)this.i).a(b(), n());
          this.i.b(p());
          if (i != 0) {
            break label81;
          }
          this.i.a(o());
          if (!ec.s) {
            return;
          }
        }
      }
      label81:
      super.c();
    }
    
    public void d()
    {
      Object[] arrayOfObject = ((w)this.i).b();
      if (ec.t == 0) {
        if (nb.a(b(), arrayOfObject)) {
          a(arrayOfObject);
        }
      }
      super.d();
    }
    
    public void e()
    {
      Object[] arrayOfObject = ((kc)this.i).q();
      if (ec.t == 0) {
        if (nb.a(b(), arrayOfObject)) {
          a(arrayOfObject);
        }
      }
      super.e();
    }
    
    public Object[] b()
    {
      return this.z.b();
    }
    
    public void a(Object[] paramArrayOfObject)
    {
      int i = ec.t;
      Object localObject = n();
      Object[] arrayOfObject = this.z.b();
      if (i == 0)
      {
        if (!nb.a(arrayOfObject, paramArrayOfObject)) {
          return;
        }
        this.z.a(paramArrayOfObject);
        a("enum", arrayOfObject, paramArrayOfObject);
        if (i != 0) {}
      }
      else if (l())
      {
        if (nb.a(paramArrayOfObject, ((w)this.i).b())) {
          ((kc)this.i).a(paramArrayOfObject, localObject);
        }
      }
      if (i == 0) {}
      d(this.z.a(localObject) < 0);
    }
    
    boolean a(Class paramClass)
    {
      return true;
    }
    
    private static final class b_
      implements PropertyChangeListener
    {
      private static final String a = kc.C;
      private final WeakReference c;
      
      b_(f.a_ parama_)
      {
        this.c = new WeakReference(parama_);
        parama_.i.c(a, this);
      }
      
      public void propertyChange(PropertyChangeEvent paramPropertyChangeEvent)
      {
        int i = ec.t;
        f.a_ locala_ = (f.a_)this.c.get();
        if ((i != 0) || (locala_ == null))
        {
          Object localObject = paramPropertyChangeEvent.getSource();
          if (i == 0)
          {
            if ((localObject instanceof xc)) {
              ((xc)localObject).d(a, this);
            }
          }
          else if (!ec.s) {}
        }
        else
        {
          a(locala_, paramPropertyChangeEvent);
        }
      }
      
      private void a(f.a_ parama_, PropertyChangeEvent paramPropertyChangeEvent)
      {
        if ((ec.t != 0) || (parama_.m()))
        {
          Object localObject = parama_.i.o();
          parama_.a((Object[])paramPropertyChangeEvent.getNewValue());
          parama_.a(localObject);
        }
      }
    }
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.h.f

 * JD-Core Version:    0.7.0.1

 */